package com.label.grade.entity.Do;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * @TableName UNDERGRA_GRADE
 */
@Data
public class UndergraGrade extends Model<UndergraGrade> implements Serializable {
    /**
     * ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 学号
     */
    private String stuNumber;

    /**
     * 姓名
     */
    private String stuName;

    /**
     * 班级姓名
     */
    private String className;

    /**
     * 专业姓名
     */
    private String majorName;

    /**
     * 学分总分
     */
    private Double credit;

    /**
     * 学分1学年1学期
     */
    private Double credit11;

    /**
     * 学分1学年2学期
     */
    private Double credit12;

    /**
     * 学分2学年1学期
     */
    private Double credit21;

    /**
     * 学分2学年2学期
     */
    private Double credit22;

    /**
     * 学分3学年1学期
     */
    private Double credit31;

    /**
     * 学分3学年2学期
     */
    private Double credit32;

    /**
     * 学分4学年1学期
     */
    private Double credit41;

    /**
     * 学分4学年2学期
     */
    private Double credit42;

    /**
     * 绩点总分
     */
    private Double gpa;

    /**
     * 绩点1学年1学期
     */
    private Double gpa11;

    /**
     * 绩点1学年2学期
     */
    private Double gpa12;

    /**
     * 绩点2学年1学期
     */
    private Double gpa21;

    /**
     * 绩点2学年2学期
     */
    private Double gpa22;

    /**
     * 绩点3学年1学期
     */
    private Double gpa31;

    /**
     * 绩点3学年2学期
     */
    private Double gpa32;

    /**
     * 绩点4学年1学期
     */
    private Double gpa41;

    /**
     * 绩点4学年2学期
     */
    private Double gpa42;

    private static final long serialVersionUID = 1L;

    public UndergraGrade() {
        this.credit = 0D;
        this.credit11 = 0D;
        this.credit12 = 0D;
        this.credit21 = 0D;
        this.credit22 = 0D;
        this.credit31 = 0D;
        this.credit32 = 0D;
        this.credit41 = 0D;
        this.credit42 = 0D;
        this.gpa = 0D;
        this.gpa11 = 0D;
        this.gpa12 = 0D;
        this.gpa21 = 0D;
        this.gpa22 = 0D;
        this.gpa31 = 0D;
        this.gpa32 = 0D;
        this.gpa41 = 0D;
        this.gpa42 = 0D;
    }


}
